--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]

local ____modules = {}
local ____moduleCache = {}
local ____originalRequire = require
local function require(file, ...)
    if ____moduleCache[file] then
        return ____moduleCache[file].value
    end
    if ____modules[file] then
        local module = ____modules[file]
        ____moduleCache[file] = { value = (select("#", ...) > 0) and module(...) or module(file) }
        return ____moduleCache[file].value
    else
        if ____originalRequire then
            return ____originalRequire(file)
        else
            error("module '" .. file .. "' not found")
        end
    end
end
____modules = {
["ydApi"] = function(...) --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
local ____exports = {}
____exports.default = YdLua
return ____exports
 end,
["init"] = function(...) --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
local ____exports = {}
local ____ydApi = require("ydApi")
local ydLua = ____ydApi.default
local initProRuntime, initTestRuntime
function initProRuntime()
end
function initTestRuntime()
    ydLua.rti.console = true
    ydLua.console.enable = true
end
function ____exports.init(model)
    if model == "pro" then
        initProRuntime()
    else
        initTestRuntime()
    end
end
return ____exports
 end,
["main"] = function(...) --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
local ____exports = {}
local ____init = require("init")
local init = ____init.init
local ____ydApi = require("ydApi")
local ydLua = ____ydApi.default
init("test")
ydLua.console.write("hello world")
return ____exports
 end,
}
return require("main", ...)
